CREATE OR REPLACE PACKAGE "kesplus_app"."kes_plus_pkg_documents" AUTHID CURRENT_USER AS
    function add(jsonData json) return json;
    function update(jsonData json) return json;
    procedure delete(docId varchar);
    function list(pid varchar,classify varchar) return json;
    procedure saveContent(jsonData json);
    function getContent(docId varchar) return json;
    function list_page(pid varchar,classify varchar,name varchar,pageIndex int,pageSize int) return json;
end;

CREATE OR REPLACE PACKAGE BODY "kesplus_app"."kes_plus_pkg_documents" AS WRAPPED
JRg2h7P8/vjdlgRpsm7+XlrYRBFipO4J3Rk4ncUtCKNfH0Qd1PJxqEGnyFsN
J3FNSnD/rnR8NfoDjaM0DAYCFmSr9c0wLa5VTZ6KAme/NfdH3CCNtqQeZoMt
0iMskqs6fsZR1o78TgX/d6YbYk5zPAU6pXEqf4N2nJGFRML5+jB1GW4bPppL
7rCUrFuT3PwRpPlQsgT3R24lciIUqD/TF2IO8oTi0fUNudOMqejp1dLEZclF
mFk0qh+ZDiBhlAOEPMVKLYp5PAcY6sBARRx2ATG/h/aVcB0ZVlDBqgV1N/Pl
ojuHY0QgtiXVOogii8qK7TK+3lfdMY32CpX0l/Z/cDHxNKs2L90CgjdtAScX
U8LYVDsfdCSXEuwmSkG0/3vRKoMPSD9Mdjt6+VEVfRUyv2gRDL4xDcCGis3r
LqM3LWDLn52xIkfY286dNVVGaCZe/5kF+nQMOOvPcYSKDOHDeqTdV7ldaiUV
n7CqPB9g6qd2j5xubdXk3CcxfR8S8/lxDvnSbwpXnd3Nies3FL64uwzI9RCj
ayD4MM4EdUXSa1HI5v4D6AXvSC/tXPtPjlIQLQnGwYitQPJjSXkGppz0g5O4
w1/MyLgbNkZDFP5AU9P30kyvhmv9gGCxk9EORxdcdpT1cp5Iur+WIv7fXRtH
ql5vaUnndPdHJnISMaYFTs82hXzKzdTuETmE3ac9BTcdTiJ0fmyEytWoaHLI
1aCy6WHxtpw4INdIPaiD05bP8bJu/Ceq5d+OlthVElAbF45IP4JAujGuW+Dg
hWdpt8qu5pddNYb38S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